﻿/**
 * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.html or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	
	// %REMOVE_START%
	// The configuration options below are needed when running CKEditor from source files.
	config.plugins = 'dialogui,dialog,about,basicstyles,clipboard,button,toolbar,list,indent,enterkey,entities,wysiwygarea,fakeobjects,link,undo,pastefromword,panel,floatpanel,menu,contextmenu,liststyle,justify,imagebrowser,colordialog,listblock,richcombo,font,panelbutton,colorbutton,fastimage,image,popup,filebrowser';
	config.skin = 'moono';
	// %REMOVE_END%
    config.language = 'ar';
	// Define changes to default configuration here.
	// For the complete reference:
	// http://docs.ckeditor.com/#!/api/CKEDITOR.config
    config.filebrowserUploadUrl = 'http://jordan.joot.eu/uploadr/upload.php';
	// The toolbar groups arrangement, optimized for a single toolbar row.
	config.toolbarGroups = [
		
		{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
		{ name: 'paragraph',   groups: [ 'blocks', 'align', 'bidi' ] },
		{ name: 'insert' },
		{ name: 'styles' },
		{ name: 'colors' },
		{ name: 'tools' },
		{ name: 'others' },
		{ name: 'about' }
	];

	// The default plugins included in the basic setup define some buttons that
	// we don't want too have in a basic editor. We remove them here.
	config.removeButtons = 'Cut,Copy,Paste,Undo,Redo,Anchor,Underline,Strike,Subscript,Superscript';

	// Let's have it basic on dialogs as well.
	config.removeDialogTabs = 'link:advanced';
};
